package com.gl.order.mapper;

import com.gl.order.entity.TMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gl.order.entity.bo.SecuritySysPermission;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author lsy
 * @since 2021-06-17
 */
@Repository
public interface TMenuMapper extends BaseMapper<TMenu> {

    List<TMenu> findByUserId(String userId);

    List<SecuritySysPermission> getAllPermission();

}
